<template>
  <div class="main_content">
    <wisdom-map @changeFull="changeFull" :isFullscreen="isFullscreen" />
  </div>
</template>
  
  <script>
import WisdomMap from "./WisdomMap.vue";
import Assessment from "./Assessment.vue";
import sxTreeData from "@/assets/json/sx_tree";
export default {
  components: {
    WisdomMap,
    Assessment,
  },
  data() {
    return {
      isFullscreen: false,
    };
  },
  mounted() {
    this.regionTreeSelectFun();
  },
  methods: {
    regionTreeSelectFun() {
      this.$store.commit("SET_REGON_TREE", sxTreeData);
    },
    changeFull(data) {
      this.isFullscreen = data;
    },
  },
};
</script>
  
  <style lang="scss" scoped="scoped">
.main_content {
  width: 100%;
  height: 100vh;
  position: relative;
  // background: #ccc;
}
</style>